import { createApp } from "vue";
import "./style.css";

import "cesium/Build/Cesium/Widgets/widgets.css";

import App from "./App.vue";

// The URL on your server where CesiumJS's static files are hosted.

import { Ion } from "cesium";
import "cesium/Build/Cesium/Widgets/widgets.css";

import {router} from './router'

window.CESIUM_BASE_URL = "/static/Cesium/";

Ion.defaultAccessToken = import.meta.env.FARM_CESIUM_TOKEN;

// Ion.defaultAccessToken =
// "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJkMmVmOWQ0YS04ODViLTQyY2ItYWVmMy05NTUxZGJiMWIxM2YiLCJpZCI6NjY4NDcsImlhdCI6MTYzMTI2Nzg4NX0.fXf3-VFbFYulHlWCHZYbk4vgTVXyf5NsiyAUfGAUWBo";

createApp(App).use(router).mount("#app");
